Small fix to the error-return path after calling
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 17 Dec 2005 01:11:54 +0000 (02:11 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 17 Dec 2005 01:11:54 +0000 (02:11 +0100)
commit2cafb4b4e90bae0afc8b1db7fd01980803dd8b14
tree88c66eaff64d386d5d7d52d33b3cdf714414c7e5
parent97c947f20902d126afb241745a61d3ff3fe854fe
Small fix to the error-return path after calling
__copy_to_user in the swiotlb sync function. We cannot
immediately exit the sync function as there may be tail work
to do (e.g., kunmap_atomic). In fact, doing nothing is the
right thing to do and is sufficient to avoid compiler
warnings about not checking the __copy_to_user return value.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/swiotlb.c